Kevin Ottens [Fri, 5 Jan 2024 10:51:49 +0000 (11:51 +0100)]
[PATCH] Don't leak file descriptors when spawning new workers
By default we inherit file descriptors from the parent in
the worker process. This is a leak of resources since the
worker won't be able to do anything with them. Also, in
the case of CIFS this causes locks which might lead to bad
surprises in the parent process.
Pino Toscano [Thu, 23 May 2024 21:34:42 +0000 (23:34 +0200)]
On Hurd, do not look for functions unimplemented in libc
Last-Update: 2022-02-22
Forwarded: not-needed
The check_function_exists() function of cmake does not keep into account the
defines that glibc provides for the stubs (i.e. unimplemented functions that
always return ENOSYS), so some functions are detected as available.
Unfortunately, due to --fatal-warnings for the linker, linking will fail.
Hence, do not attempt to look for functions that are currently unimplemented
on GNU/Hurd's libc.